#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import json


if __name__ == '__main__':
    config = {}
    config['url'] = "http://106.2.0.252/" #必须以 '/' 结尾
    config['login_form'] = {}
    config['login_form']['action'] = 'login'  #这个固定不用修改
    config['login_form']['login_username'] = 'admin' 
    config['login_form']['login_password'] = 'Spcadmin@123'

    fp = open("./config.json", "w+")
    json.dump(config, fp)
    fp.close()
